<?php
class test{

}

$test = new test();
$test->child = [];
var_dump($test->child);